package suncertify.ui;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author jshah
 * Client side application launcher for which launches the thread for config screen ui and  d
 */
public class ClientTest implements Runnable{

    /**
     * flag to indicate whether to make the <code>CSRScreen</code> visible or not
     */
    public static boolean showCSR = false;
    public void run() {
        Thread configScreen = new Thread(new ConfigScreenDisplay());
        configScreen.start();
        try {
            configScreen.join();
        } catch (InterruptedException ex) {
            Logger.getLogger(ClientTest.class.getName()).log(Level.SEVERE, "Client Runner Thread Exception, EXIT", ex);
            return ;
        }
        Thread csrThread = new Thread(new CSRScreenDisplay());
        csrThread.start();
    }

}
